package org.mall.modules.cash.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.mall.common.util.jsonschema.Long2StringSerializer;
import org.mall.common.util.jsonschema.String2LongDeserialize;

/**
 * @Description: 提现信息表
 * @Author: jeecg-boot
 * @Date:   2019-12-31
 * @Version: V1.0
 */
@Data
@TableName("seller_cash_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="seller_cash_info对象", description="提现信息表")
public class SellerCashInfo {
    
	/**id*/
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "id")
	@JsonDeserialize(using = String2LongDeserialize.class)
	@JsonSerialize(using = Long2StringSerializer.class)
	private Long id;
	/**商铺店主id*/
	@Excel(name = "商铺店主id", width = 15)
    @ApiModelProperty(value = "商铺店主id")
	private String sellerId;
	/**商店id*/
	@Excel(name = "商店id", width = 15)
    @ApiModelProperty(value = "商店id")
	private String shopId;
	/**总金额*/

	private Integer orderPresentPrice;

	@Excel(name = "总金额", width = 15)
    @ApiModelProperty(value = "总金额")
	private Integer presentPrice;
	/**订单ID*/
	@Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
	@JsonDeserialize(using = String2LongDeserialize.class)
	@JsonSerialize(using = Long2StringSerializer.class)
	private Long orderId;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
	private Integer status;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
	private Integer deleted;
}
